@extends('admin.main')
@section('content')
    <?php
            /*
    print_r($sels);
    print_r($options);
    exit('s'); */

            ?>
    <div class="admin-content">
        {{--@include('admin.layouts.crumb')--}}
        <div class="am-g">
            @include('admin.layouts.adminInfo')
            <div class="am-u-sm-12 am-u-md-8 am-u-md-pull-4">
                @if(!isset($data))
                    {{$jiugeForm::createForm($sels,$options)}}
                @else
                    {{$jiugeForm::editForm($sels,$options,$data)}}
                @endif
            </div>
        </div>
    </div>

    <script>
        //日期组件
        $(function() {
            $('.doc-datepicker').datepicker().
            on('changeDate.datepicker.amui', function(event) {
                console.log(event.date);
            });
        });
    </script>
@stop